package com.example.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReceiveMsgVo {

    @NotBlank(message = "用户id不得为空")
    private String toUid;

    @NotBlank(message = "消息内容不得为空")
    private String msg;
}
